﻿<%@ Page Title="" Language="C#" MasterPageFile="~/LotteryMasterPage.master" AutoEventWireup="true" CodeFile="ReportDE.aspx.cs" Inherits="ReportDE" %>

<%@ Register assembly="Chartlet" namespace="FanG" tagprefix="cc1" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">

<div id="navMenu">
<ul>
    <li class="onelink"><a href='AreaMan.aspx'>首页</a></li>
    <li><a rel='dropmenu1'>评分</a></li>
    <li><a href='AreaAnnoList.aspx'>公告</a></li>
    <li><a rel='dropmenu4'>通知</a></li>
    <li><a href='ReportRD.aspx'>报表</a></li>
    </ul>
</div>
<div class="RepoMainBody">
<div class="RepoBody">
    
    <asp:SqlDataSource ID="SqlDataSource1" runat="server" 
        ConnectionString="<%$ ConnectionStrings:testLottery %>" 
        SelectCommand="SELECT * FROM [Report] WHERE ([id] = @id)">
        <SelectParameters>
            <asp:SessionParameter DefaultValue="1" Name="id" SessionField="id" 
                Type="Int32" />
        </SelectParameters>
    </asp:SqlDataSource>
    
    <asp:GridView ID="GridView1" runat="server" 
            onPageIndexChanging="GridView1_PageIndexChanging" AllowSorting="True"  
             Width="636px"
            OnSorting="GridView1_Sorting" 
            onselectedindexchanged="GridView1_SelectedIndexChanged" 
            EmptyDataText="无数据" HorizontalAlign="Center" CellPadding="4" 
        ForeColor="#333333" GridLines="None">
            <AlternatingRowStyle BackColor="White" />
            <EditRowStyle BackColor="#2461BF" />
            <FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
            <HeaderStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
            <PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" />
            <RowStyle HorizontalAlign="Center" BackColor="#EFF3FB" />
            <SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
            <SortedAscendingCellStyle BackColor="#F5F7FB" />
            <SortedAscendingHeaderStyle BackColor="#6D95E1" />
            <SortedDescendingCellStyle BackColor="#E9EBEF" />
            <SortedDescendingHeaderStyle BackColor="#4870BE" />
        </asp:GridView>

    <asp:Panel ID="Panel1" runat="server">
    </asp:Panel>
    <br />
    <asp:Label ID="Label1" runat="server"></asp:Label>


    <br />
    <asp:Label ID="promptLabel" runat="server" Font-Size="XX-Large" ForeColor="Red" 
        Visible="False"></asp:Label>


    <br />
    <cc1:Chartlet ID="Chartlet1" runat="server" />

    <br />
    <asp:Button ID="deleteButton" runat="server" Height="37px" 
        onclick="deleteButton_Click" Text="删除此报表" Width="596px" />

    </div>
    </div>
<script type='text/javascript' src='../Scripts/dropdown.js'></script>
<ul id="dropmenu1" class="dropMenu">
    <li><a href="AreaManSc.aspx" >站点评分</a></li>
    <li><a href="AreaManGetScaspx.aspx" >获取评分</a></li>
    <li class="end" ></li>
</ul>


<ul id="dropmenu4" class="dropMenu">
    <li><a href="AreaCommentList.aspx" >读通知</a></li>
    <li><a href="AreaWrComment.aspx" >写通知</a></li>
    <li class="end" ></li>
</ul>
<script type="text/javascript">    cssdropdown.startchrome("navMenu")</script>
</asp:Content>

